//
//  GetAddressRequest.h
//  fashionbuyer
//
//  Created by ale tan on 2018/1/17.
//  Copyright © 2018年 ale tan. All rights reserved.
//

#import "BaseRequest.h"
#import "FBAddressModel.h"

@interface GetAddressRequest : BaseRequest

@property (nonatomic ,copy) NSString *getAddressListUrl;//地址列表
@property (nonatomic ,copy) NSString *createAddressUrl;//新建地址
@property (nonatomic ,copy) NSString *editAddressUrl;//编辑地址

//获取列表
- (void)getAddressListWithComplete:(RequestResult)requestResult;

//新增地址
- (void)addAddressWithModel:(FBAddressModel *)model Complete:(RequestResult)requestResult;

//编辑地址
- (void)editAddressWithModel:(FBAddressModel *)model Complete:(RequestResult)requestResult;

#pragma mark -Tool-
//判断是否是可用的身份证
+ (BOOL)isValidIDCard:(NSString *)idCard;

@end
